using System;

namespace BaseAmd.Mmt
{
	public class MagListEntity
	{
		public string NodeId { get; set; }

		public string ContainerId { get; set; }

		public string MagListState { get; set; } = "Offline";


		public MagListStateEnum? MagListStateEnum
		{
			get
			{
				if (Enum.TryParse<MagListStateEnum>(this.MagListState, out var result))
				{
					return result;
				}
				return null;
			}
		}
	}
}
